From f6ecf3a393ba50bb74ce83ad2bc723e2670f7215 Mon Sep 17 00:00:00 2001
From: real-zephex <zephex-1@outlook.com>
Date: Fri, 12 Apr 2024 11:39:57 +0530
Subject: minor fixes

---
 src/app/kdrama/[id]/buttons.jsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/app/kdrama/[id]/buttons.jsx')

diff --git a/src/app/kdrama/[id]/buttons.jsx b/src/app/kdrama/[id]/buttons.jsx
index c41c32f..a7d0f60 100644
--- a/src/app/kdrama/[id]/buttons.jsx
+++ b/src/app/kdrama/[id]/buttons.jsx
@@ -46,9 +46,11 @@ export default function EpisodesButtons({ data: episodeData, id: dramaId }) {
 						episodeData.map((item, index) => (
 							<button
 								key={index}
-								onClick={() =>
-									test(item.id, dramaId, item.title)
-								}
+								onClick={(event) => {
+									test(item.id, dramaId, item.title);
+									event.target.style.backgroundColor =
+										"var(--soft-purple)";
+								}}
 							>
 								{item.title}
 							</button>
-- 
cgit v1.2.3

